package core.models.items;

import java.io.Serializable;
/**
 * The class that represents a Gun in the game.
 * 
 * @author 4c1a
 */
public class Gun extends Item implements Serializable
{
    
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
     * A Gun constructor with a quantity parameter.
     *
     * @param quantity The number of guns.
     */
    public Gun(int quantity)
    {
        this(1, 0, quantity);
    }
    
    /**
     * A Gun constructor with price and quantity parameters.
     * 
     * @param price The cost of a gun.
     * @param quantity The number of guns.
     */
    public Gun(int price, int quantity)
    {
    	this(1, price, quantity);
    }

    /**
     * A Gun constructor with weight, price, and quantity parameters.
     *
     * @param weight the weight
     * @param price the price
     * @param quantity the quantity
     */
    public Gun(int weight, int price, int quantity)
    {
        super(weight, price, quantity, "Guns");
    }
}
